package com.camel.base.entity;

import javax.validation.constraints.NotEmpty;

public class EnumQueryForm {
    /**枚举类型**/
    @NotEmpty(message = "枚举类型不能为空",groups = Type.class)
    private String codeType;
    /**枚举值**/
    @NotEmpty(message = "枚举值不能为空",groups = {Value.class})
    private String codeValue;

    public String getCodeType() {
        return codeType;
    }

    public void setCodeType(String codeType) {
        this.codeType = codeType;
    }

    public String getCodeValue() {
        return codeValue;
    }

    public void setCodeValue(String codeValue) {
        this.codeValue = codeValue;
    }

    public interface Type{}

    public interface Value{}
}
